revealer: Only clip child when animating
authorErnestas Kulik <ernestask@gnome.org>
Wed, 22 Aug 2018 09:23:50 +0000 (12:23 +0300)
committerErnestas Kulik <ernestask@gnome.org>
Thu, 23 Aug 2018 08:13:36 +0000 (11:13 +0300)
commitf40eb8a1febd5785fb2bb09adf5c70d9687bd313
treee1109cbf49b077918fdb535ccdc24176978c0b7a
parent9e0f43e8cba45015487c692058c002f56087b9b8
revealer: Only clip child when animating

Currently, GtkRevealer clips the child if the transition type is
sliding, regardless of whether the animation had already ended. An
example where that is a problem would be in Nautilus: the file
operations popover button is animated on reveal to draw attention, but,
given that the button is in turn stashed inside a revealer with a
sliding animation, things suddenly fall apart.
gtk/gtkrevealer.c